Integrand size = 28, antiderivative size = 78 \[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \arctan \left (\frac {\sqrt {2} \sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {2} a \sqrt {b} \sqrt {a^2-b^2 x^4}} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {1166, 385, 211} \[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \arctan \left (\frac {\sqrt {2} \sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {2} a \sqrt {b} \sqrt {a^2-b^2 x^4}} \]
[In]
[Out]
Rule 211
Rule 385
Rule 1166
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {a-b x^2} \sqrt {a+b x^2}\right ) \int \frac {1}{\sqrt {a-b x^2} \left (a+b x^2\right )} \, dx}{\sqrt {a^2-b^2 x^4}} \\ & = \frac {\left (\sqrt {a-b x^2} \sqrt {a+b x^2}\right ) \text {Subst}\left (\int \frac {1}{a+2 a b x^2} \, dx,x,\frac {x}{\sqrt {a-b x^2}}\right )}{\sqrt {a^2-b^2 x^4}} \\ & = \frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {2} a \sqrt {b} \sqrt {a^2-b^2 x^4}} \\ \end{align*}
Time = 1.37 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\frac {\sqrt {a^2-b^2 x^4} \arctan \left (\frac {\sqrt {2} \sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {2} a \sqrt {b} \sqrt {a-b x^2} \sqrt {a+b x^2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(248\) vs. \(2(63)=126\).
Time = 0.59 (sec) , antiderivative size = 249, normalized size of antiderivative = 3.19
method | result | size |
default | \(\frac {\sqrt {-b^{2} x^{4}+a^{2}}\, \sqrt {b}\, \left (\sqrt {a}\, \sqrt {2}\, \ln \left (\frac {2 b \left (\sqrt {2}\, \sqrt {a}\, \sqrt {-b \,x^{2}+a}+\sqrt {-a b}\, x +a \right )}{b x +\sqrt {-a b}}\right ) \sqrt {b}-\sqrt {a}\, \sqrt {2}\, \ln \left (\frac {2 b \left (\sqrt {2}\, \sqrt {a}\, \sqrt {-b \,x^{2}+a}-\sqrt {-a b}\, x +a \right )}{b x -\sqrt {-a b}}\right ) \sqrt {b}+2 \arctan \left (\frac {\sqrt {b}\, x}{\sqrt {\frac {\left (-b x +\sqrt {a b}\right ) \left (b x +\sqrt {a b}\right )}{b}}}\right ) \sqrt {-a b}-2 \sqrt {-a b}\, \arctan \left (\frac {\sqrt {b}\, x}{\sqrt {-b \,x^{2}+a}}\right )\right )}{2 \sqrt {b \,x^{2}+a}\, \sqrt {-b \,x^{2}+a}\, \left (-\sqrt {-a b}+\sqrt {a b}\right ) \left (\sqrt {-a b}+\sqrt {a b}\right ) \sqrt {-a b}}\) | \(249\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 152, normalized size of antiderivative = 1.95 \[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\left [-\frac {\sqrt {2} \sqrt {-b} \log \left (-\frac {3 \, b^{2} x^{4} + 2 \, a b x^{2} - 2 \, \sqrt {2} \sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a} \sqrt {-b} x - a^{2}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right )}{4 \, a b}, -\frac {\sqrt {2} \arctan \left (\frac {\sqrt {2} \sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a} \sqrt {b}}{2 \, {\left (b^{2} x^{3} + a b x\right )}}\right )}{2 \, a \sqrt {b}}\right ] \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\int \frac {1}{\sqrt {- \left (- a + b x^{2}\right ) \left (a + b x^{2}\right )} \sqrt {a + b x^{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\int { \frac {1}{\sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\int { \frac {1}{\sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {a+b x^2} \sqrt {a^2-b^2 x^4}} \, dx=\int \frac {1}{\sqrt {a^2-b^2\,x^4}\,\sqrt {b\,x^2+a}} \,d x \]
[In]
[Out]